import request from '@/utils/request'

export function getList(data) {
  return request({
    url: '/managerlist',
    method: 'post',
    data,
  })
}

export function doAdd(data) {
  return request({
    url: '/manageradd',
    method: 'post',
    data,
  })
}

export function doEdit(data) {
  return request({
    url: '/manageredit',
    method: 'post',
    data,
  })
}

export function doDelete(data) {
  return request({
    url: '/managerdel',
    method: 'post',
    data,
  })
}

export function doDisable(data) {
  return request({
    url: '/managerdisable',
    method: 'post',
    data,
  })
}
